<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>看数首页</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0,maximum-scale=1.0">
	<meta name = "format-detection" content = "telephone=no">
	<!--load css-->


<%--	<link rel="stylesheet" href="../resources/css/style-index.css"/>--%>
<%--	<link rel="stylesheet" href="../resources/plugin/layui/css/layui.css">--%>
<%--	<link rel="stylesheet" href="../resources/js/lib/mobilescroller/mobiscroll.core-2.6.2.css">--%>
<%--	<link rel="stylesheet" href="../resources/js/lib/mobilescroller/mobiscroll.android-ics-2.6.2.css">--%>
<%--	<script src="../resources/js/lib/flexible.js"></script>--%>
<%--	<script src="../resources/js/lib/iconfont.js"></script>--%>
<%--	<script src="../resources/js/common0.js"></script>--%>
<%--	<script src="../resources/js/lib/moment.min.js"></script>--%>
<%--	<script src="../resources/plugin/layui/layui.js"></script>--%>
<%--	<script src="../resources/js/lib/vconsole.min.js"></script>--%>
	<!-- <script>
    var vConsole = new VConsole();
    </script> -->
	<style type="text/css">
		#icon{
			position:relative;
		}
		.tip{
			display:inline-block;
			background:#f00;
			border-radius:50%;
			width:8px;
			height:8px;
			top:-3px;
			right:-3px;
			position:absolute;
		}
		.live a:hover{color:black;}
		.live a:visited{color:black;}
	</style>

</head>
<body class="bd-bg" style="">
<div class="index-head">
	<div class="index-tt">
		实时数据 <span id="liveDate"></span>
		<a onclick="openOrgSelect()" style="color: #fff;border-color: #fff;cursor: pointer;float: right;z-index: 99;" class="r-btn orgtree"  cityId="${cityId }" orgId="${orgId }" level="${level }" parentId="${parentId }" id="orgChoose">${orgName }</a>
		<input type="hidden" cityId="${treeCityId }" orgId="${treeOrgId }" level="${treeLevel }" do="${treeDistrictOpen }" id="orgTree" />
		<!-- 埋点类型,1:管理层,2:小ceo -->
		<input type="hidden" value="1" id="modelType" />
	</div>

	<div class="real-data" id="live">
		<div class="loading">
			<img  src="../resources/img/loading01.png" alt="">
			<div class="fensug">
				<div class="waven"></div>
			</div>
		</div>
		<div class="loading">
			<img  src="../resources/img/loading01.png" alt="">
			<div class="fensug">
				<div class="waven"></div>
			</div>
		</div>
		<div class="loading">
			<img  src="../resources/img/loading01.png" alt="">
			<div class="fensug">
				<div class="waven"></div>
			</div>
		</div>
		<div class="loading">
			<img  src="../resources/img/loading01.png" alt="">
			<div class="fensug">
				<div class="waven"></div>
			</div>
		</div>
	</div>
	<!--公告-->
	<div class="notice-div" id="notice-div" style="display:none;">
		<div class="outer" id="outer">
			<div class="inner" id="inner">
				<ul id="picbox_1">
					<li><p id="notice" ></p></li>
				</ul>
				<ul id="picbox_2"></ul>
			</div>
		</div>
		<i class="iconfont icon-guanbi" ></i>
	</div>
</div>
<!-- ****************** -->
<div id="org" class="weui-popup__container popup-right">
	<div class="weui-popup__overlay"></div>
	<div class="weui-popup__modal org-div">
		<div class="tt">机构选择</div>
		<div id="otree" class="org-tree">
			<ul class="">
			</ul>
		</div>
	</div>
</div>

<div class="wrapper">
	<h2 class="m-tit"><i class="iconfont icon-title"></i>置顶关注
		<span><i class="iconfont icon-rili"></i><input type="text" class="appDate" value=""></span>
		<i class="iconfont" id="keypoint"></i>
	</h2>
	<div id="keypointData" mouldCode="zdgz" class="follow-data follow-data2">
	</div>
	<div class="loading">
		<img  src="../resources/img/loading1.png" alt="">
		<div class="fensug">
			<div class="waven"></div>
		</div>
	</div>
</div>

<div class="wrapper">
	<h2 class="m-tit"><i class="iconfont icon-title"></i>我的关注
		<!-- <span><i class="iconfont icon-rili"></i><input type="text" class="appDate" value=""></span> -->
		<i class="iconfont icon-more" id="myLook"></i>
	</h2>
	<div id="focusData" mouldCode="8" class="weui-grids follow-data">
	</div>
	<div class="loading">
		<img  src="../resources/img/loading1.png" alt="">
		<div class="fensug">
			<div class="waven"></div>
		</div>
	</div>
</div>
<div class="wrapper">
	<h2 class="m-tit"><i class="iconfont icon-title"></i>关键专项 <i class="iconfont icon-more" id="myNotic"></i></h2>
	<div id="specialData" mouldCode="9" class="special-lists">
	</div>
	<div class="loading">
		<img  src="../resources/img/loading2.png" alt="">
		<div class="fensug">
			<div class="waven"></div>
		</div>
	</div>
</div>
<div class="wrapper" >
	<h2 class="m-tit"><i class="iconfont icon-title"></i>更多模块 <i class="iconfont icon-more" id="myMore"></i></h2>
	<div class="weui-grids more-list" id="moreData">
		<!-- <a onclick="toMorePage('')" class="weui-grid grid-list">
            <div class="grid-list__icon">
                <img src="../resources/img/ico_001.png" alt="">
            </div>
            <p class="grid-list__label">
                经营通报
            </p>
        </a>
        <a onclick="toMorePage('')" class="weui-grid grid-list">
            <div class="grid-list__icon">
                <img src="../resources/img/ico_002.png" alt="">
            </div>
            <p class="grid-list__label">
                经营诊断
            </p>
        </a>
        <a onclick="toMorePage('')" class="weui-grid grid-list">
            <div class="grid-list__icon">
                <img src="../resources/img/ico_003.png" alt="">
            </div>
            <p class="grid-list__label">
                过网分析
            </p>
        </a>
        <a onclick="toMorePage('')" class="weui-grid grid-list">
            <div class="grid-list__icon">
                <img src="../resources/img/ico_004.png" alt="">
            </div>
            <p class="grid-list__label">
                开机周报
            </p>
        </a>
        <a onclick="toMorePage('')" class="weui-grid grid-list">
            <div class="grid-list__icon">
                <img src="../resources/img/ico_005.png" alt="">
            </div>
            <p class="grid-list__label">
                业务质态
            </p>
        </a>
        <a class="weui-grid grid-list" onclick="toMorePage('daymsg')">
            <div class="grid-list__icon">
                <img src="../resources/img/ico_006.png" alt="">
            </div>
            <p class="grid-list__label">
                每日短信
            </p>
        </a>
        <a onclick="toMorePage('')" class="weui-grid grid-list">
            <div class="grid-list__icon">
                <img src="../resources/img/ico_007.png" alt="">
            </div>
            <p class="grid-list__label">
                发展月报
            </p>
        </a> -->
	</div>
</div>
<!-- </div> -->
<!--水印-->
<div id="wm_div_id" style="pointer-events: none;"></div>
<!-- 审核弹窗 -->
<div class="win-box" style="display: none">
	<div class="win-mask"></div>
	<div class="win-bd">
		<h1>模块审核</h1>
		<div class="state-div">
            <span>状态:
                <select name="" id="stateShowType" onchange="changeStateData()">
                    <option value="1">全部</option>
                    <option value="2">已审核</option>
                    <option value="3">未审核</option>
                </select>
            </span>
			<a id="idxDetail">查看指标阈值详情>></a>
		</div>
		<div class="win-con">
		</div>
		<div class="win-btn">
			<a class="default" onclick="stateWinClose()"> 取消</a>
			<a onclick="stateWinConfirm()"> 确定</a>
		</div>
	</div>
</div>
<!-- 审核弹窗 end-->

<%--<script src="../resources/js/lib/jquery-2.1.4.js"></script>--%>
<%--<script src="<%=basePath%>resources/js/ajaxWrapper.js"></script>--%>
<%--<script src="../resources/js/media/watermark.js"></script>--%>
<%--<script src="../resources/js/lib/init.js"></script>--%>
<%--<script src="../resources/js/lib/weui/jquery-weui.min.js"></script>--%>

<%--<script src="../resources/js/lib/mobilescroller/mobiscroll.zepto.js"></script>--%>
<%--<script src="../resources/js/lib/mobilescroller/mobiscroll.core-2.6.2.js"></script>--%>
<%--<script src="../resources/js/lib/mobilescroller/mobiscroll.core-2.6.2-zh.js"></script>--%>
<%--<script src="../resources/js/lib/mobilescroller/mobiscroll.datetime-2.6.2.js"></script>--%>
<%--<script src="../resources/js/lib/jquery.easyui.min.js"></script>--%>
<%--<script src="../resources/js/lib/iscroll-lite.js"></script>--%>

<script>
	<%--var basePath = '<%=basePath%>';--%>
	<%--var wmUrl = '<%=basePath%>/mldks/getUserInfo?userId=${userId}';--%>
	<%--var actionlogUrl = '<%=basePath%>/mldks/uploadActionLog';--%>
	<%--var gloablLiveDate = "";--%>
	<%--var lastChooseDate = "";--%>
	<%--var scroll;--%>
	<%--clearAccountCache();--%>
	<%--var pagecode = '0001';--%>
	<%--var caliberKey = 'MGR:mgr:index'; // 格式：mouldType:mould:mouldCode--%>
	<%--//以下均为更多模块小红点显示所需的全局变量--%>
	<%--var tipCount = 0;--%>
	<%--var serverTime = "";--%>
	<%--var clickTime = "";--%>
	<%--var currentTime = "";--%>
	<%--var effectTime = "";--%>
	<%--var failureTime = "";--%>
	<%--var clickArr = new Array();--%>
	<%--var effectArr = new Array();--%>
	<%--var failureArr = new Array();--%>

	<%--layui.use(['form','element','layer'], function() {--%>
	<%--	var form = layui.form;--%>
	<%--	var layer = layui.layer;--%>
	<%--	var element = layui.element;--%>

	<%--	gloablLiveDate = '${mtime}';--%>
	<%--	//加载日期控件--%>
	<%--	dataTool();--%>
	<%--	//加载机构选择树--%>
	<%--	var treeUrl = '<%=basePath%>mldks/queryOrgTree';--%>
	<%--	initOrgTree(treeUrl,actionlogUrl,pagecode,'${userId}','${isAdmin}');--%>
	<%--	//初始日期控件时间--%>
	<%--	if(gloablLiveDate != '') {--%>
	<%--		$('.appDate').val(gloablLiveDate);--%>
	<%--	} else {--%>
	<%--		$('.appDate').val(getYesterday());--%>
	<%--	}--%>
	<%--	lastChooseDate = $('.appDate').val();--%>
	<%--	init();--%>
	<%--});--%>


	<%--function openOrgSelect(){--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','00000004',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	var obj = $('#otree').tree('find',$('#orgChoose').attr('orgId'));--%>
	<%--	$('#otree').tree('expandTo', obj.target).tree('select', obj.target);--%>
	<%--	$("#org").popup();--%>
	<%--	if($("#org").is(':hidden')){--%>

	<%--	} else {--%>
	<%--		$(".weui-popup__overlay").on('touchmove', function (e) { e.preventDefault(); }, false);--%>
	<%--		scroll = new IScroll('#otree', {--%>
	<%--			click: true--%>
	<%--		});--%>
	<%--	}--%>
	<%--}--%>

	<%--function init(){--%>
	<%--	/**加载数据**/--%>
	<%--	getWatermarkInfo(wmUrl,"");--%>
	<%--	queryLiveData();--%>
	<%--	queryKeypointData();--%>
	<%--	queryFocusData();--%>
	<%--	querySpecialData();--%>
	<%--	// 开始倒计时--%>
	<%--	reloadLiveData();--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','00000001',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	queryMoreData();--%>
	<%--	queryNoticeData();--%>
	<%--}--%>


	<%--function reloading(){--%>
	<%--	hideAllTimeout();--%>
	<%--	console.log("reloading...",$('.appDate').val());--%>
	<%--	initLoading();--%>
	<%--	/**加载数据**/--%>
	<%--	getWatermarkInfo(wmUrl,"");--%>
	<%--	queryLiveData();--%>
	<%--	queryKeypointData();--%>
	<%--	queryFocusData();--%>
	<%--	querySpecialData();--%>
	<%--	// 开始倒计时--%>
	<%--	reloadLiveData();--%>
	<%--	queryMoreData();--%>
	<%--	queryNoticeData();--%>
	<%--}--%>
	<%--var newNotice;--%>
	<%--var oldNotice;--%>
	<%--//客户端调用--%>
	<%--function getCacheValue(key,value){--%>
	<%--	if (key == "${userId}"+"${roleCode}"+"${cityId}"){--%>
	<%--		oldNotice = value;--%>
	<%--		var contentUrl = '<%=basePath%>mldks/analysisNotice';--%>
	<%--		$.ajax({--%>
	<%--			url: contentUrl,--%>
	<%--			type: "POST",--%>
	<%--			dataType : "json",--%>
	<%--			cache: false,--%>
	<%--			timeout:60 * 1000,--%>
	<%--			data: {newNotice:encodeURI(newNotice),--%>
	<%--				oldNotice:encodeURI(oldNotice)},--%>
	<%--			success: function(result) {--%>
	<%--				console.log(result);--%>
	<%--				if(result.code == 0) {--%>
	<%--					var data = result.data;--%>
	<%--					if(data != undefined &&data.userNotices!=undefined&& data.userNotices.length > 0){--%>
	<%--						var html ="";--%>
	<%--						$.each(data.userNotices,function(idx,obj) {--%>
	<%--							html+=(idx+1)+"、"+data.userNotices[idx].noticeContent+"&nbsp;&nbsp;&nbsp;&nbsp";--%>
	<%--						});--%>
	<%--						$("#notice").html(html);--%>
	<%--						$('.notice-div').show();--%>
	<%--						picbox_2.innerHTML=picbox_1.innerHTML;--%>
	<%--					}else{--%>
	<%--						console.log("公告数据分析失败");--%>
	<%--						$('.notice-div').hide();--%>
	<%--					}--%>
	<%--				}else{--%>
	<%--					console.log("公告数据分析失败");--%>
	<%--					$('.notice-div').hide();--%>
	<%--				}--%>
	<%--			}--%>
	<%--			,error: function() {--%>
	<%--				console.log("公告数据分析失败");--%>
	<%--				$('.notice-div').hide();--%>
	<%--			}--%>
	<%--		});--%>
	<%--	}--%>
	<%--	if (key != "${userId}"+"${roleCode}"+"${cityId}"){--%>
	<%--		console.log("客户端返回数据",new Date());--%>
	<%--		tipCount = key;--%>
	<%--		if (value == null || value == undefined){--%>
	<%--			clickArr[tipCount] = "2000-01-01 00:00:00"--%>
	<%--		} else{--%>
	<%--			clickArr[tipCount] = value;--%>
	<%--		}--%>
	<%--		console.log("before:",new Date(),key,clickArr[tipCount]);--%>
	<%--		clickTime = clickArr[tipCount];--%>
	<%--		effectTime = effectArr[tipCount];--%>
	<%--		failureTime = failureArr[tipCount];--%>
	<%--		if (effectTime == null || effectTime == undefined || failureTime == null || failureTime == null){--%>
	<%--			$("#tip"+tipCount+"").hide();--%>
	<%--			console.log("未配置生（失）效时间");--%>
	<%--		} else{--%>
	<%--			/* currentTime = new Date(Date.parse(serverTime));--%>
    <%--            effectTime = new Date(Date.parse(effectTime));--%>
    <%--            failureTime = new Date(Date.parse(failureTime));--%>
    <%--            clickTime = new Date(Date.parse(clickTime));  */--%>
	<%--			currentTime = moment(serverTime,'YYYY-MM-DD HH:mm:ss');--%>
	<%--			effectTime = moment(effectTime,'YYYY-MM-DD HH:mm:ss');--%>
	<%--			failureTime = moment(failureTime,'YYYY-MM-DD HH:mm:ss');--%>
	<%--			clickTime = moment(clickTime,'YYYY-MM-DD HH:mm:ss');--%>
	<%--			currentTime = currentTime.toDate();--%>
	<%--			effectTime = effectTime.toDate();--%>
	<%--			failureTime = failureTime.toDate();--%>
	<%--			clickTime = clickTime.toDate();--%>
	<%--			console.log("生效时间",effectTime);--%>
	<%--			console.log("失效时间",failureTime);--%>
	<%--			console.log("当前时间",currentTime);--%>
	<%--			console.log("点击时间",clickTime);--%>
	<%--			if (currentTime>=effectTime && currentTime<=failureTime){--%>
	<%--				if (clickTime<effectTime || clickTime>failureTime){--%>
	<%--					$("#tip"+tipCount+"").show();--%>
	<%--					console.log("show");--%>
	<%--				} else{--%>
	<%--					$("#tip"+tipCount+"").hide();--%>
	<%--					console.log("hide");--%>
	<%--				}--%>
	<%--			} else{--%>
	<%--				$("#tip"+tipCount+"").hide();--%>
	<%--			}--%>
	<%--		}--%>

	<%--	}--%>
	<%--}--%>

	<%--//获取公告数据--%>
	<%--function queryNoticeData() {--%>
	<%--	var roleCode = "${roleCode}";--%>
	<%--	var contentUrl = '<%=basePath%>mldks/getMdlNotice';--%>
	<%--	$.ajax({--%>
	<%--		url: contentUrl,--%>
	<%--		type: "POST",--%>
	<%--		dataType : "json",--%>
	<%--		cache: false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		data: {roleCode:roleCode},--%>
	<%--		success: function(result) {--%>
	<%--			if(result.code == 0) {--%>
	<%--				var data = result.data;--%>
	<%--				if(data != undefined &&data.userNotices!=undefined&& data.userNotices.length > 0){--%>
	<%--					newNotice=JSON.stringify(result.data);--%>
	<%--					analysisNotice();--%>
	<%--					$('.notice-div').hide();--%>
	<%--				}else{--%>
	<%--					$('.notice-div').hide();--%>
	<%--				}--%>
	<%--			}else{--%>
	<%--				$('.notice-div').hide();--%>
	<%--			}--%>
	<%--		}--%>
	<%--		,error: function() {--%>
	<%--			console.log("公告数据请求失败");--%>
	<%--			$('.notice-div').hide();--%>
	<%--		}--%>
	<%--	});--%>
	<%--}--%>
	<%--//获取公告数据--%>
	<%--function analysisNotice() {--%>
	<%--	var key = "${userId}"+"${roleCode}"+"${cityId}";--%>
	<%--	var oldNotice="";--%>
	<%--	var u = navigator.userAgent, app = navigator.appVersion;--%>
	<%--	var isAndroid = u.indexOf('Android') > -1--%>
	<%--			|| u.indexOf('Linux') > -1; //android终端或者uc浏览器--%>
	<%--	var isiOS = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1; //ios终端--%>
	<%--	if (isAndroid) {--%>
	<%--		window.android.cacheDataInf('0',key,"");--%>
	<%--	} else if (isiOS) {--%>
	<%--		ACTION_CACHEDATA_INF('0',key,"");--%>
	<%--	} else {--%>
	<%--		oldNotice="";--%>
	<%--		getCacheValue(key,oldNotice);--%>
	<%--	}--%>
	<%--}--%>

	<%--//初始化'loading'效果--%>
	<%--function initLoading() {--%>
	<%--	var liveloading = "<div class='loading'><img  src='../resources/img/loading01.png' alt=''><ul class='fensug'><li class='waven'></li></ul></div>";--%>
	<%--	var focusloading = "<div class='loading'><img  src='../resources/img/loading1.png' alt=''><ul class='fensug'><li class='waven'></li></ul></div>";--%>
	<%--	var specialloading = "<div class='loading'><img  src='../resources/img/loading2.png' alt=''><ul class='fensug'><li class='waven'></li></ul></div>";--%>
	<%--	$('#live').empty();--%>
	<%--	$('#live').append(liveloading);--%>
	<%--	$('#live').append(liveloading);--%>
	<%--	$('#live').append(liveloading);--%>
	<%--	$('#live').append(liveloading);--%>
	<%--	$('#keypointData').empty();--%>
	<%--	$('#keypointData').append(focusloading);--%>
	<%--	$('#focusData').empty();--%>
	<%--	$('#focusData').append(focusloading);--%>
	<%--	$('#specialData').empty();--%>
	<%--	$('#specialData').append(specialloading);--%>
	<%--}--%>
	<%--//获取更多模块数据--%>
	<%--function queryMoreData() {--%>
	<%--	var contentUrl = '<%=basePath%>mldks/queryMoreData?userId=${userId}&roleCode=${roleCode}';--%>
	<%--	$.ajax({--%>
	<%--		url: contentUrl,--%>
	<%--		type: "GET",--%>
	<%--		contentType: "application/json",--%>
	<%--		dataType : "json",--%>
	<%--		cache: false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success: function(result) {--%>
	<%--			if(result.code == 0) {--%>
	<%--				var data = result.data;--%>
	<%--				console.log("more data:",data);--%>
	<%--				if(data != undefined && data.length > 0){--%>
	<%--					var html = "";--%>
	<%--					tipCount = 0;--%>
	<%--					$.each(data,function(idx,obj) {--%>
	<%--						tipCount +=1;--%>
	<%--						var moreName = obj.moreName;--%>
	<%--						var moreImg = obj.moreImg;--%>
	<%--						var moreCode = obj.moreCode;--%>
	<%--						var moreUrl = obj.moreUrl;--%>
	<%--						var moreUrlParams = obj.moreUrlParams;--%>
	<%--						effectArr[tipCount] = obj.effectTime;--%>
	<%--						failureArr[tipCount] = obj.failureTime;--%>
	<%--						html+="<a class=\"weui-grid grid-list\" id=\"click"+tipCount+"\" onclick=\"clickTip('"+tipCount+"');toMorePage('"+moreCode+"','"+moreUrl+"','"+moreUrlParams+"')\">\r\n" +--%>
	<%--								"                <div class=\"grid-list__icon\" id=\"icon\">\r\n" +--%>
	<%--								"                    <img src=\""+moreImg+"\" alt=\"\" id=\"moreImg\">\r\n" +--%>
	<%--								"                    <i id=\"tip"+tipCount+"\" class=\"tip\" style=\"display:none\">\r\n" +--%>
	<%--								"                    </i>\r\n" +--%>
	<%--								"                </div>\r\n" +--%>
	<%--								"                <p class=\"grid-list__label\">\r\n" + moreName+--%>
	<%--								"                    \r\n" +--%>
	<%--								"                </p>\r\n" +--%>
	<%--								"            </a>";--%>
	<%--					});--%>
	<%--					$("#moreData").empty();--%>
	<%--					$("#moreData").append(html);--%>
	<%--					getServerTime();--%>
	<%--					getClickTime();--%>
	<%--					/* console.log("after:",new Date(),key,clickArr[tipCount]); */--%>
	<%--					/* tipCount = 0;--%>
    <%--                    $.each(data,function(idx,obj) {--%>
    <%--                        tipCount +=1;--%>
    <%--                        clickTime = "";--%>
    <%--                        console.log(a[tipCount]);--%>
    <%--                        clickTime = a[tipCount];--%>
    <%--                        var currentTime = new Date();--%>
    <%--                        var effectTime = new Date(Date.parse(obj.effectTime));--%>
    <%--                        var failureTime = new Date(Date.parse(obj.failureTime));--%>
    <%--                        clickTime = new Date(Date.parse(clickTime));--%>
    <%--                        if (currentTime>=effectTime && currentTime<=failureTime){--%>
    <%--                            if (clickTime>=effectTime && clickTime<=failureTime){--%>
    <%--                                $("#tip"+tipCount+"").hide();--%>
    <%--                            } else{--%>
    <%--                                $("#tip"+tipCount+"").show();--%>
    <%--                            }--%>
    <%--                        } else{--%>
    <%--                            $("#tip"+tipCount+"").hide();--%>
    <%--                        }--%>
    <%--                    });   */--%>
	<%--					//loadClickEvent(1);//绑定点击事件--%>
	<%--				}else {--%>
	<%--					var html = "";--%>
	<%--					html += "<section id='tab-contain' class='main' style=''><div class='layui-row'>";--%>
	<%--					html += "<div class='layui-col-md12' style='text-align: center;padding: 0.5rem 0'><img style='height:3rem' src='<%=basePath%>resources/img/out_500.png' /><p style='font-family: PingFangSC-Regular;font-size: 0.3rem;color: gray;'>无可查看的模块数据～</p>";--%>
	<%--					html += "</div></div></section>";--%>
	<%--					$("#moreData").empty();--%>
	<%--					$("#moreData").append(html);--%>
	<%--				}--%>
	<%--			}else {--%>
	<%--				var html = "";--%>
	<%--				html += "<section id='tab-contain' class='main' style=''><div class='layui-row'>";--%>
	<%--				html += "<div class='layui-col-md12' style='text-align: center;padding: 0.5rem 0'><img style='height:3rem' src='<%=basePath%>resources/img/out_500.png' /><p style='font-family: PingFangSC-Regular;font-size: 0.3rem;color: gray;'>数据错误，请<a href='javascript:queryMoreData()'>重试</a>～</p>";--%>
	<%--				html += "</div></div></section>";--%>
	<%--				$("#moreData").empty();--%>
	<%--				$("#moreData").append(html);--%>
	<%--			}--%>

	<%--			getWatermarkInfo(wmUrl,"");--%>
	<%--		},--%>
	<%--		error: function() {--%>
	<%--			//layer.msg('未知错误，请联系系统管理员！',{icon:2});--%>
	<%--			hideLoading("moreData");--%>
	<%--		},--%>
	<%--		onTimeout: function(){ // 超时回调--%>
	<%--			var func = registTimeoutCallback(function(){--%>
	<%--				showLoading("moreData");--%>
	<%--				queryMoreData();--%>
	<%--			});--%>
	<%--			showTiemoutTable("moreData",func);//初始化表格数据--%>
	<%--		}--%>
	<%--	});--%>
	<%--}--%>
	<%--//更多模块红点显示控制--%>
	<%--/* function showRedTip(){--%>
    <%--    getServerTime();--%>
    <%--    for(tipCount=1; tipCount<15; tipCount++){--%>
    <%--        clickTime = clickArr[tipCount];--%>
    <%--        effectTime = effectArr[tipCount];--%>
    <%--        failureTime = failureArr[tipCount];--%>
    <%--        currentTime = new Date(Date.parse(serverTime));--%>
    <%--        effectTime = new Date(Date.parse(effectTime));--%>
    <%--        failureTime = new Date(Date.parse(failureTime));--%>
    <%--        clickTime = new Date(Date.parse(clickTime));--%>
    <%--        console.log(clickTime);--%>
    <%--        console.log(effectTime);--%>
    <%--        console.log(failureTime);--%>
    <%--        console.log(currentTime);--%>
    <%--        if (currentTime>=effectTime && currentTime<=failureTime){--%>
    <%--            if (clickTime>=effectTime && clickTime<=failureTime){--%>
    <%--                $("#tip"+tipCount+"").hide();--%>
    <%--            } else{--%>
    <%--                $("#tip"+tipCount+"").show();--%>
    <%--            }--%>
    <%--        } else{--%>
    <%--            $("#tip"+tipCount+"").hide();--%>
    <%--        }--%>
    <%--    }--%>
    <%--} */--%>

	<%--//更多模块点击事件--%>
	<%--function clickTip(tipCount) {--%>
	<%--	$("#tip"+tipCount+"").hide();--%>
	<%--	saveClickTime(tipCount);--%>
	<%--}--%>
	<%--//获取服务器时间--%>
	<%--function getServerTime(){--%>
	<%--	var contentUrl = '<%=basePath%>mldks/getServerTime';--%>
	<%--	$.ajax({--%>
	<%--		url: contentUrl,--%>
	<%--		type: "GET",--%>
	<%--		contentType: "application/json",--%>
	<%--		dataType : "json",--%>
	<%--		cache: false,--%>
	<%--		async: false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success: function(result) {--%>
	<%--			serverTime = result.data;--%>
	<%--		},--%>
	<%--		error: function() {}--%>
	<%--	});--%>
	<%--}--%>
	<%--//调用客户端接口存储更多模块的点击时间--%>
	<%--function saveClickTime(tipCount) {--%>
	<%--	getServerTime();--%>
	<%--	clickTime = serverTime;--%>
	<%--	var key = tipCount;--%>
	<%--	var u = navigator.userAgent, app = navigator.appVersion;--%>
	<%--	var isAndroid = u.indexOf('Android') > -1--%>
	<%--			|| u.indexOf('Linux') > -1; //android终端或者uc浏览器--%>
	<%--	var isiOS = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1; //ios终端--%>
	<%--	if (isAndroid) {--%>
	<%--		window.android.cacheDataInf('1',key,clickTime);--%>
	<%--		console.log("存储点击时间",clickTime);--%>
	<%--	} else if (isiOS) {--%>
	<%--		ACTION_CACHEDATA_INF('1',key,clickTime);--%>
	<%--		console.log("存储点击时间",clickTime);--%>
	<%--	}--%>
	<%--}--%>
	<%--//获取手机缓存的更多模块点击时间--%>
	<%--function getClickTime() {--%>
	<%--	clickTime = "";--%>
	<%--	var u = navigator.userAgent, app = navigator.appVersion;--%>
	<%--	var isAndroid = u.indexOf('Android') > -1--%>
	<%--			|| u.indexOf('Linux') > -1; //android终端或者uc浏览器--%>
	<%--	var isiOS = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1; //ios终端--%>
	<%--	if (isAndroid) {--%>
	<%--		for(var key=1; key<23; key++){--%>
	<%--			console.log(new Date(),"页面发送请求");--%>
	<%--			window.android.cacheDataInf('0',key,"");--%>
	<%--		}--%>

	<%--	} else if (isiOS) {--%>
	<%--		for(var key=1; key<23; key++){--%>
	<%--			console.log(new Date(),"页面发送请求");--%>
	<%--			ACTION_CACHEDATA_INF('0',key,"");--%>
	<%--		}--%>
	<%--	} else {--%>
	<%--		clickTime = "";--%>
	<%--		getCacheValue(key,JSON.stringify(clickTime));--%>
	<%--	}--%>
	<%--}--%>
	<%--function dateFormat(date, fmt) {--%>
	<%--	if (null == date || undefined == date) return '';--%>
	<%--	var o = {--%>
	<%--		"M+": date.getMonth() + 1, //月份--%>
	<%--		"d+": date.getDate(), //日--%>
	<%--		"h+": date.getHours(), //小时--%>
	<%--		"m+": date.getMinutes(), //分--%>
	<%--		"s+": date.getSeconds(), //秒--%>
	<%--		"S": date.getMilliseconds() //毫秒--%>
	<%--	};--%>
	<%--	if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length));--%>
	<%--	for (var k in o)--%>
	<%--		if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));--%>
	<%--	return fmt;--%>
	<%--}--%>

	<%--Date.prototype.toJSON = function () { return dateFormat(this,'yyyy-MM-dd hh:mm:ss')};--%>

	<%--//获取实时数据--%>
	<%--function queryLiveData() {--%>
	<%--	//获取当前日期：--%>
	<%--	var startDate = getNow();--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var parentId = $('#orgChoose').attr('parentId');--%>
	<%--	var contentUrl = '<%=basePath%>mldks/queryDevelopeLiev?cityId=' + cityId + '&orgId=' + orgId + '&parentId=' + parentId + '&startDate=' + startDate;--%>
	<%--	$.ajax({--%>
	<%--		url: contentUrl,--%>
	<%--		type: "GET",--%>
	<%--		contentType: "application/json",--%>
	<%--		dataType : "json",--%>
	<%--		cache: false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success: function(result) {--%>
	<%--			if(result.code == '0') {--%>
	<%--				var data = result.data;--%>
	<%--				console.log("live data:",data);--%>
	<%--				if(data != undefined && data.length > 0){--%>
	<%--					var time = "";--%>
	<%--					var html = "";--%>
	<%--					$.each(data,function(idx,obj) {--%>
	<%--						var liveValue = obj.value;--%>
	<%--						var liveName = obj.dcValue;--%>
	<%--						var liveSort = obj.dcSort;--%>
	<%--						var liveDate = obj.sumDate;--%>
	<%--						if(liveSort == 1) {--%>
	<%--							html += "<div class='live'><a onclick = \"toLiveData('" + liveSort +"','"+ liveDate +"','"+ liveName +"')\"><em id='live1' class='animated bounce'>" + liveValue + "</em><span><i class='iconfont icon-yuandian'></i>" + liveName + "</span></a></div>";--%>
	<%--							time = liveDate;--%>
	<%--						} else if(liveSort == 2) {--%>
	<%--							html += "<div class='live'><a onclick = \"toLiveData('" + liveSort +"','"+ liveDate +"','"+ liveName +"')\"><em id='live2' class='animated bounce'>" + liveValue + "</em><span><i class='iconfont icon-yuandian'></i>" + liveName + "</span></a></div>";--%>
	<%--						} else if(liveSort == 3) {--%>
	<%--							html += "<div class='live'><a onclick = \"toLiveData('" + liveSort +"','"+ liveDate +"','"+ liveName +"')\"><em id='live3' class='animated bounce'>" + liveValue + "</em><span><i class='iconfont icon-yuandian'></i>" + liveName + "</span></a></div>";--%>
	<%--						} else if(liveSort == 4) {--%>
	<%--							html += "<div class='live'><a onclick = \"toLiveData('" + liveSort +"','"+ liveDate +"','"+ liveName +"')\"><em id='live4' class='animated bounce'>" + liveValue + "</em><span><i class='iconfont icon-yuandian'></i>" + liveName + "</span></a></div>";--%>
	<%--						}--%>
	<%--					});--%>
	<%--					$('#live').empty();--%>
	<%--					$('#live').append(html);--%>
	<%--					$('#liveDate').empty();--%>
	<%--					$('#liveDate').append(time);--%>
	<%--				} else {--%>
	<%--					var html = "";--%>
	<%--					html += "<div ><em id='live1' class='animated bounce'>--</em><span><i class='iconfont icon-yuandian'></i></span></div>";--%>
	<%--					html += "<div ><em id='live2' class='animated bounce'>--</em><span><i class='iconfont icon-yuandian'></i></span></div>";--%>
	<%--					html += "<div ><em id='live3' class='animated bounce'>--</em><span><i class='iconfont icon-yuandian'></i></span></div>";--%>
	<%--					html += "<div ><em id='live4' class='animated bounce'>--</em><span><i class='iconfont icon-yuandian'></i></span></div>";--%>
	<%--					$('#live').empty();--%>
	<%--					$('#live').append(html);--%>
	<%--				}--%>
	<%--			} else {--%>
	<%--				layer.msg('数据错误，请稍后重试！',{icon:2});--%>
	<%--			}--%>
	<%--		},--%>
	<%--		error: function() {--%>
	<%--			//layer.msg('未知错误，请联系系统管理员！',{icon:2});--%>
	<%--			hideLoading("live");--%>
	<%--		},--%>
	<%--		onTimeout: function(){ // 超时回调--%>
	<%--			var func = registTimeoutCallback(function(){--%>
	<%--				showLoading("live");--%>
	<%--				queryLiveData();--%>
	<%--			});--%>
	<%--			showTiemoutTable("live",func);//初始化表格数据--%>
	<%--		}--%>
	<%--	});--%>
	<%--}--%>

	<%--function toLiveData(liveSort,liveDate,liveName) {--%>
	<%--	//name = encodeURI(encodeURI(name));--%>
	<%--	//var actioncode = '0' + mouldCode + linkMouldCode + '0001';--%>
	<%--	//uploadActionLog(actionlogUrl,'${userId}','${isAdmin}',actioncode ,pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	//var liveSort = liveSort;--%>
	<%--	//var startDate = "2019-10-15";--%>
	<%--	var startDate = encodeURI(liveDate);--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	var sign = '${sign}';--%>
	<%--	var parmas = 'cityId=' + cityId + '&orgId=' + orgId + '&liveSort=' + liveSort + '&level=' + level + '&userId=${userId}&dataRange=0&startDate=' + startDate + '&sign=' + sign;--%>
	<%--	var urlHeard='<%=basePath%>mldks/toLivePage?'+parmas;--%>
	<%--	console.log(urlHeard,parmas);--%>
	<%--	getToTwoPageParam(urlHeard,parmas);--%>
	<%--}--%>
	<%--//获取置顶关注数据--%>
	<%--function queryKeypointData() {--%>
	<%--	//获取选择日期：--%>
	<%--	/* var keypointloading = "<div class='loading'><img  src='../resources/img/loading1.png' alt=''><ul class='fensug'><li class='waven'></li></ul></div>";--%>
    <%--    if ($('#keypointData').find('.loading').length < 1){--%>
    <%--        $('#keypointData').empty();--%>
    <%--        $('#keypointData').append(keypointloading);--%>
    <%--    } */--%>

	<%--	var startDate = $('.appDate').val();--%>
	<%--	var mouldCode = $('#keypointData').attr('mouldCode');--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	var contentUrl = '<%=basePath%>mldks/queryDevelope4ZD?cityId=' + cityId + '&orgId=' + orgId + '&level=' + level + '&userId=${userId}&dataRange=0&startDate=' + startDate + '&mouldCode=' + mouldCode + '&min=${isAdmin}';--%>
	<%--	console.log(contentUrl);--%>
	<%--	$.ajax({--%>
	<%--		url: contentUrl,--%>
	<%--		type: "GET",--%>
	<%--		contentType: "application/json",--%>
	<%--		dataType : "json",--%>
	<%--		cache: false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success: function(result) {--%>
	<%--			hideLoading('keypointData');--%>
	<%--			if(result.code == 0) {--%>
	<%--				var data = result.data;--%>
	<%--				// data = data.slice(0, 2);--%>
	<%--				console.log("key data:",data);--%>
	<%--				if(data != undefined && data.length > 0){--%>
	<%--					var html = "";--%>
	<%--					$.each(data,function(idx,obj) {--%>
	<%--						var name = obj.scene3Name;--%>
	<%--						var smallMouldCode = obj.scene3Code;--%>
	<%--						var values = obj.values;--%>
	<%--						var linkParams = obj.linkScene2Code;--%>
	<%--						var scene2Code = obj.scene2Code;--%>
	<%--						var state = obj.state;--%>
	<%--						var actionCode = '0' + scene2Code + linkParams + '0002';//审核动作编码--%>
	<%--						if(values != undefined && values.length > 0){--%>
	<%--							html += "<a onclick=\"clickToDetailPage('" + scene2Code +"','"+ linkParams +"','" + smallMouldCode + "','"+ name +"')\" class='grid-list {D0}'>"--%>
	<%--							html += "<p class='tit'>" + name + "{D1}</p>"--%>
	<%--							if (state == 'S0A') {--%>
	<%--								html = html.replace("{D1}","<i class='iconfont icon-yishenhe' code='" + scene2Code + "-" + smallMouldCode + "' markCode='zdgz' actionCode='" + actionCode + "'></i>");--%>
	<%--							} else if (state == 'S0W' || state == 'S0B') {--%>
	<%--								html = html.replace("{D1}","<i class='iconfont icon-weishenhe' code='" + scene2Code + "-" + smallMouldCode + "' markCode='zdgz' actionCode='" + actionCode + "'></i>");--%>
	<%--							} else {--%>
	<%--								html = html.replace("{D1}","");--%>
	<%--							}--%>

	<%--							var mainVal = values[0].rValue;--%>
	<%--							if(values[0].rUnit != '%' && smallMouldCode != '16'){//如果是16-云业务发展，不做“万”的处理--%>
	<%--								if(mainVal.length >= 5 && mainVal.length < 7) {--%>
	<%--									mainVal = (mainVal/10000).toFixed(2);--%>
	<%--									mainVal = mainVal + "<sub>万</sub>";--%>
	<%--								} else if(mainVal.length >= 7 && mainVal.length < 8) {--%>
	<%--									mainVal = (mainVal/10000).toFixed(1);--%>
	<%--									mainVal = mainVal + "<sub>万</sub>";--%>
	<%--								} else if(mainVal.length >= 8) {--%>
	<%--									mainVal = (mainVal/10000).toFixed(0);--%>
	<%--									mainVal = mainVal + "<sub>万</sub>";--%>
	<%--								}--%>
	<%--							}--%>
	<%--							if(values[0].isTempNoShow == 1){--%>
	<%--								html += "<p class='num'><em>" + "--" + "</em></p>";--%>
	<%--							} else {--%>
	<%--								if(values[0].rUnit == '%'){--%>
	<%--									html += "<p class='num'><em>" + mainVal + "<sub>" + values[0].rUnit + "<sub></em></p>";--%>
	<%--								} else {--%>
	<%--									html += "<p class='num'><em>" + mainVal + "</em></p>";--%>
	<%--								}--%>
	<%--							}--%>
	<%--							var rateVal = '';--%>
	<%--							var rateUnit = '';--%>
	<%--							if(values.length > 1 && values[1].isTempNoShow != 1) {--%>
	<%--								rateVal = values[1].rValue;--%>
	<%--								rateUnit = values[1].rUnit;--%>
	<%--							}--%>
	<%--							//如果数据没返回，则显示----%>
	<%--							if(rateVal == '') {--%>
	<%--								rateVal = "--";--%>
	<%--							} else {--%>
	<%--								if(linkParams == '14' || linkParams == '27' || linkParams == '13') {--%>
	<%--									rateVal = (rateVal/10000).toFixed(2);--%>
	<%--									rateVal = rateVal + "<sub>万</sub>";--%>
	<%--								} else {--%>
	<%--									rateVal += rateUnit;--%>
	<%--								}--%>
	<%--							}--%>
	<%--							if(linkParams == '12') {--%>
	<%--								html += "<span>月提升<em>{addOrMinus}" + rateVal + "{upOrDown}</em></span>";--%>
	<%--							} else if(linkParams == '14' || linkParams == '27') {--%>
	<%--								html += "<span>月净增<em>{addOrMinus}" + rateVal + "{upOrDown}</em></span>";--%>
	<%--							} else if(linkParams == '13'){--%>
	<%--								html += "<span>月净增<em>{addOrMinus}" + rateVal + "{upOrDown}</em></span>";--%>
	<%--							} else {--%>
	<%--								html += "<span>月环比<em>{addOrMinus}" + rateVal + "{upOrDown}</em></span>";--%>
	<%--							}--%>
	<%--							//控制字体颜色--%>
	<%--							var rate = 0;--%>
	<%--							if(values.length > 1 && values[1].isTempNoShow != 1) {--%>
	<%--								rate = values[1].rValue;--%>
	<%--							}--%>
	<%--							if(rate > 0) {--%>
	<%--								html = html.replace("{D0}","rise");--%>
	<%--								if(values[0].rValue.length >= 9) {--%>
	<%--									//html = html.replace("{upOrDown}","");--%>
	<%--									html = html.replace("{upOrDown}","<i class='iconfont icon-shangshengms'></i>");--%>
	<%--								} else {--%>
	<%--									html = html.replace("{upOrDown}","<i class='iconfont icon-shangshengms'></i>");--%>
	<%--								}--%>
	<%--								if(values[1].rUnit == '%'){--%>
	<%--									html = html.replace("{addOrMinus}","+");--%>
	<%--								} else {--%>
	<%--									html = html.replace("{addOrMinus}","");--%>
	<%--								}--%>
	<%--							} else if (rate < 0) {--%>
	<%--								html = html.replace("{D0}","drop");--%>
	<%--								if(values[0].rValue.length >= 9) {--%>
	<%--									//html = html.replace("{upOrDown}","");--%>
	<%--									html = html.replace("{upOrDown}","<i class='iconfont icon-xiajiangms'></i>");--%>
	<%--								} else {--%>
	<%--									html = html.replace("{upOrDown}","<i class='iconfont icon-xiajiangms'></i>");--%>
	<%--								}--%>
	<%--								html = html.replace("{addOrMinus}","");--%>
	<%--							} else {--%>
	<%--								html = html.replace("{D0}","rise");--%>
	<%--								html = html.replace("{upOrDown}","");--%>
	<%--								html = html.replace("{addOrMinus}","");--%>
	<%--							}--%>
	<%--						} else {--%>
	<%--							html += "<a onclick=\"clickShowNoData()\" class='grid-list {D0}'>"--%>
	<%--							html += "<p class='tit'>" + name + "{D1}</p>"--%>
	<%--							html = html.replace("{D0}","rise");--%>
	<%--							html += "<p class='num' style='margin-left:0px;'><em>--</em></p>";--%>
	<%--							if(linkParams == '12') {--%>
	<%--								html += "<span>月提升<em>--</em></span>";--%>
	<%--							} else if(linkParams == '14' || linkParams == '27') {--%>
	<%--								html += "<span>月净增<em>--</em></span>";--%>
	<%--							} else if(linkParams == '13'){--%>
	<%--								html += "<span>月净增<em>--</em></span>";--%>
	<%--							} else {--%>
	<%--								html += "<span>月环比<em>--</em></span>";--%>
	<%--							}--%>
	<%--							if (state == 'S0A') {--%>
	<%--								html = html.replace("{D1}","<i class='iconfont icon-yishenhe' code='" + scene2Code + "-" + smallMouldCode + "' markCode='zdgz' actionCode='" + actionCode + "'></i>");--%>
	<%--							} else if (state == 'S0W' || state == 'S0B') {--%>
	<%--								html = html.replace("{D1}","<i class='iconfont icon-weishenhe' code='" + scene2Code + "-" + smallMouldCode + "' markCode='zdgz' actionCode='" + actionCode + "'></i>");--%>
	<%--							} else {--%>
	<%--								html = html.replace("{D1}","");--%>
	<%--							}--%>
	<%--						}--%>
	<%--						html += "</a>";--%>
	<%--					});--%>
	<%--					$("#keypointData").empty();--%>
	<%--					$("#keypointData").append(html);--%>
	<%--					loadClickEvent(1);//绑定点击事件--%>
	<%--				}else {--%>
	<%--					var html = "";--%>
	<%--					html += "<section id='tab-contain' class='main' style=''><div class='layui-row'>";--%>
	<%--					html += "<div class='layui-col-md12' style='text-align: center;padding: 0.5rem 0'><img style='height:3rem' src='<%=basePath%>resources/img/out_500.png' /><p style='font-family: PingFangSC-Regular;font-size: 0.3rem;color: gray;'>无可查看的指标数据～</p>";--%>
	<%--					html += "</div></div></section>";--%>
	<%--					$("#keypointData").empty();--%>
	<%--					$("#keypointData").append(html);--%>
	<%--				}--%>
	<%--			}else {--%>
	<%--				var html = "";--%>
	<%--				html += "<section id='tab-contain' class='main' style=''><div class='layui-row'>";--%>
	<%--				html += "<div class='layui-col-md12' style='text-align: center;padding: 0.5rem 0'><img style='height:3rem' src='<%=basePath%>resources/img/out_500.png' /><p style='font-family: PingFangSC-Regular;font-size: 0.3rem;color: gray;'>数据错误，请<a href='javascript:queryKeypointData()'>重试</a>～</p>";--%>
	<%--				html += "</div></div></section>";--%>
	<%--				$("#keypointData").empty();--%>
	<%--				$("#keypointData").append(html);--%>
	<%--			}--%>

	<%--			resetZhongdianHeight();--%>
	<%--			getWatermarkInfo(wmUrl,"");--%>
	<%--		},--%>
	<%--		error: function() {--%>
	<%--			hideLoading('keypointData');--%>
	<%--			//layer.msg('未知错误，请联系系统管理员！',{icon:2});--%>
	<%--		},--%>
	<%--		onTimeout: function(){ // 超时回调--%>
	<%--			var func = registTimeoutCallback(function(){--%>
	<%--				showLoading("keypointData");--%>
	<%--				queryKeypointData();--%>
	<%--			});--%>
	<%--			showTiemoutTable("keypointData",func);//初始化表格数据--%>
	<%--		}--%>
	<%--	});--%>
	<%--}--%>

	<%--function resetZhongdianHeight(){--%>
	<%--	var minHeight = $('#keypointData').height();--%>
	<%--	$('#keypointData').find('a').each(function(index, ele){--%>
	<%--		minHeight = Math.min($(this).height(), minHeight);--%>
	<%--	});--%>

	<%--	$('#keypointData').find('a').each(function(index, ele){--%>
	<%--		$(this).height(minHeight);--%>
	<%--	});--%>
	<%--}--%>

	<%--//获取我的关注数据--%>
	<%--function queryFocusData() {--%>
	<%--	//获取选择日期：--%>
	<%--	var startDate = $('.appDate').val();--%>
	<%--	var mouldCode = $('#focusData').attr('mouldCode');--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	var contentUrl = '<%=basePath%>mldks/queryDevelope?cityId=' + cityId + '&orgId=' + orgId + '&level=' + level + '&userId=${userId}&dataRange=0&startDate=' + startDate + '&mouldCode=' + mouldCode + '&min=${isAdmin}';--%>
	<%--	$.ajax({--%>
	<%--		url: contentUrl,--%>
	<%--		type: "GET",--%>
	<%--		contentType: "application/json",--%>
	<%--		dataType : "json",--%>
	<%--		cache: false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success: function(result) {--%>
	<%--			hideLoading('focusData');--%>
	<%--			if(result.code == 0) {--%>
	<%--				var data = result.data;--%>
	<%--				console.log("focus data:",data);--%>
	<%--				if(data != undefined && data.length > 0){--%>
	<%--					var html = "";--%>
	<%--					$.each(data,function(idx,obj) {--%>
	<%--						if(idx < 6) {//仅展现6项--%>
	<%--							var name = obj.scene3Name;--%>
	<%--							var smallMouldCode = obj.scene3Code;--%>
	<%--							var values = obj.values;--%>
	<%--							var linkParams = obj.linkScene2Code;--%>
	<%--							var state = obj.state;--%>
	<%--							var actionCode = '0' + mouldCode + linkParams + '0002';//审核动作编码--%>
	<%--							if(values != undefined && values.length > 0){--%>
	<%--								html += "<a onclick=\"clickToDetailPage('" + mouldCode +"','"+ linkParams +"','" + smallMouldCode + "','" + name + "')\" class='grid-list {D0}'>"--%>
	<%--								html += "<p class='tit'>" + name + "{D1}</p>"--%>
	<%--								if (state == 'S0A') {--%>
	<%--									html = html.replace("{D1}","<i class='iconfont icon-yishenhe' code='" + mouldCode + "-" + smallMouldCode + "' actionCode='" + actionCode + "'></i>");--%>
	<%--								} else if (state == 'S0W' || state == 'S0B') {--%>
	<%--									html = html.replace("{D1}","<i class='iconfont icon-weishenhe' code='" + mouldCode + "-" + smallMouldCode + "' actionCode='" + actionCode + "'></i>");--%>
	<%--								} else {--%>
	<%--									html = html.replace("{D1}","");--%>
	<%--								}--%>

	<%--								var mainVal = values[0].rValue;--%>
	<%--								if(values[0].rUnit != '%' && smallMouldCode != '16'){//如果是16-云业务发展，不做“万”的处理--%>
	<%--									if(mainVal.length >= 5 && mainVal.length < 7) {--%>
	<%--										mainVal = (mainVal/10000).toFixed(2);--%>
	<%--										mainVal = mainVal + "<sub>万</sub>";--%>
	<%--									} else if(mainVal.length >= 7 && mainVal.length < 8) {--%>
	<%--										mainVal = (mainVal/10000).toFixed(1);--%>
	<%--										mainVal = mainVal + "<sub>万</sub>";--%>
	<%--									} else if(mainVal.length >= 8) {--%>
	<%--										mainVal = (mainVal/10000).toFixed(0);--%>
	<%--										mainVal = mainVal + "<sub>万</sub>";--%>
	<%--									}--%>
	<%--								}--%>
	<%--								if(values[0].isTempNoShow == 1){--%>
	<%--									html += "<p class='num'><em>" + "--" + "</em></p>";--%>
	<%--								} else {--%>
	<%--									if(values[0].rUnit == '%'){--%>
	<%--										html += "<p class='num'><em>" + mainVal + "<sub>" + values[0].rUnit + "<sub></em></p>";--%>
	<%--									} else {--%>
	<%--										html += "<p class='num'><em>" + mainVal + "</em></p>";--%>
	<%--									}--%>
	<%--								}--%>
	<%--								var rateVal = '';--%>
	<%--								var rateUnit = '';--%>
	<%--								if(values.length > 1) {--%>
	<%--									rateVal = values[1].rValue;--%>
	<%--									rateUnit = values[1].rUnit;--%>
	<%--								}--%>
	<%--								//如果数据没返回或通过isTempNoShow=1临时屏蔽，则显示----%>
	<%--								if(rateVal == '' || values[1].isTempNoShow == 1) {--%>
	<%--									rateVal = "--";--%>
	<%--								} else {--%>
	<%--									if(linkParams == '14' || linkParams == '27' || linkParams == '13') {--%>
	<%--										rateVal = (rateVal/10000).toFixed(2);--%>
	<%--										rateVal = rateVal + "<sub>万</sub>";--%>
	<%--									} else if (linkParams == '16') {--%>
	<%--										if (rateVal.length >= 8) {--%>
	<%--											rateVal = parseFloat(rateVal).toFixed(0);--%>
	<%--										}--%>

	<%--										rateVal += rateUnit;--%>
	<%--									}else {--%>
	<%--										rateVal += rateUnit;--%>
	<%--									}--%>
	<%--								}--%>
	<%--								if(linkParams == '12') {--%>
	<%--									html += "<span>月提升<em>{addOrMinus}" + rateVal + "{upOrDown}</em></span>";--%>
	<%--								} else if(linkParams == '14' || linkParams == '27') {--%>
	<%--									html += "<span>月净增<em>{addOrMinus}" + rateVal + "{upOrDown}</em></span>";--%>
	<%--								} else if(linkParams == '13'){--%>
	<%--									html += "<span>月净增<em>{addOrMinus}" + rateVal + "{upOrDown}</em></span>";--%>
	<%--								} else {--%>
	<%--									html += "<span>月环比<em>{addOrMinus}" + rateVal + "{upOrDown}</em></span>";--%>
	<%--								}--%>
	<%--								var rate = 0;--%>
	<%--								if(values.length > 1 && values[1].isTempNoShow != 1) {--%>
	<%--									rate = values[1].rValue;--%>
	<%--								}--%>
	<%--								if(rate > 0) {--%>
	<%--									html = html.replace("{D0}","rise");--%>
	<%--									if(values[0].rValue.length >= 9) {--%>
	<%--										// html = html.replace("{upOrDown}","");--%>
	<%--										html = html.replace("{upOrDown}","<i class='iconfont icon-shangshengms'></i>");--%>
	<%--									} else {--%>
	<%--										html = html.replace("{upOrDown}","<i class='iconfont icon-shangshengms'></i>");--%>
	<%--									}--%>
	<%--									if(values[1].rUnit == '%'){--%>
	<%--										html = html.replace("{addOrMinus}","+");--%>
	<%--									} else {--%>
	<%--										html = html.replace("{addOrMinus}","");--%>
	<%--									}--%>
	<%--								} else if (rate < 0) {--%>
	<%--									html = html.replace("{D0}","drop");--%>
	<%--									if(values[0].rValue.length >= 9) {--%>
	<%--										//html = html.replace("{upOrDown}","");--%>
	<%--										html = html.replace("{upOrDown}","<i class='iconfont icon-xiajiangms'></i>");--%>
	<%--									} else {--%>
	<%--										html = html.replace("{upOrDown}","<i class='iconfont icon-xiajiangms'></i>");--%>
	<%--									}--%>
	<%--									html = html.replace("{addOrMinus}","");--%>
	<%--								} else {--%>
	<%--									html = html.replace("{D0}","rise");--%>
	<%--									html = html.replace("{upOrDown}","");--%>
	<%--									html = html.replace("{addOrMinus}","");--%>
	<%--								}--%>
	<%--							} else {--%>
	<%--								html += "<a onclick=\"clickShowNoData()\" class='grid-list {D0}'>"--%>
	<%--								html += "<p class='tit'>" + name + "{D1}</p>"--%>
	<%--								html = html.replace("{D0}","rise");--%>
	<%--								html += "<p class='num'><em>--</em></p>";--%>
	<%--								if(linkParams == '12') {--%>
	<%--									html += "<span>月提升<em>--</em></span>";--%>
	<%--								} else if(linkParams == '14' || linkParams == '27') {--%>
	<%--									html += "<span>月净增<em>--</em></span>";--%>
	<%--								} else if(linkParams == '13'){--%>
	<%--									html += "<span>月净增<em>--</em></span>";--%>
	<%--								} else {--%>
	<%--									html += "<span>月环比<em>--</em></span>";--%>
	<%--								}--%>
	<%--								if (state == 'S0A') {--%>
	<%--									html = html.replace("{D1}","<i class='iconfont icon-yishenhe' code='" + mouldCode + "-" + smallMouldCode + "' actionCode='" + actionCode + "'></i>");--%>
	<%--								} else if (state == 'S0W' || state == 'S0B') {--%>
	<%--									html = html.replace("{D1}","<i class='iconfont icon-weishenhe' code='" + mouldCode + "-" + smallMouldCode + "' actionCode='" + actionCode + "'></i>");--%>
	<%--								} else {--%>
	<%--									html = html.replace("{D1}","");--%>
	<%--								}--%>
	<%--							}--%>
	<%--							html += "</a>";--%>
	<%--						}--%>
	<%--					});--%>
	<%--					$("#focusData").empty();--%>
	<%--					$("#focusData").append(html);--%>
	<%--					loadClickEvent(1);//绑定点击事件--%>
	<%--				}else {--%>
	<%--					var html = "";--%>
	<%--					html += "<section id='tab-contain' class='main' style=''><div class='layui-row'>";--%>
	<%--					html += "<div class='layui-col-md12' style='text-align: center;padding: 0.5rem 0'><img style='height:3rem' src='<%=basePath%>resources/img/out_500.png' /><p style='font-family: PingFangSC-Regular;font-size: 0.3rem;color: gray;'>无可查看的指标数据～</p>";--%>
	<%--					html += "</div></div></section>";--%>
	<%--					$("#focusData").empty();--%>
	<%--					$("#focusData").append(html);--%>
	<%--				}--%>
	<%--			}else {--%>
	<%--				var html = "";--%>
	<%--				html += "<section id='tab-contain' class='main' style=''><div class='layui-row'>";--%>
	<%--				html += "<div class='layui-col-md12' style='text-align: center;padding: 0.5rem 0'><img style='height:3rem' src='<%=basePath%>resources/img/out_500.png' /><p style='font-family: PingFangSC-Regular;font-size: 0.3rem;color: gray;'>数据错误，请<a href='javascript:queryFocusData()'>重试</a>～</p>";--%>
	<%--				html += "</div></div></section>";--%>
	<%--				$("#focusData").empty();--%>
	<%--				$("#focusData").append(html);--%>
	<%--			}--%>

	<%--			getWatermarkInfo(wmUrl,"");--%>
	<%--		},--%>
	<%--		error: function() {--%>
	<%--			//layer.msg('未知错误，请联系系统管理员！',{icon:2});--%>
	<%--			hideLoading("focusData");--%>
	<%--		},--%>
	<%--		onTimeout: function(){ // 超时回调--%>
	<%--			var func = registTimeoutCallback(function(){--%>
	<%--				showLoading("focusData");--%>
	<%--				queryFocusData();--%>
	<%--			});--%>
	<%--			showTiemoutDiv("focusData",func);//初始化表格数据--%>
	<%--		}--%>
	<%--	});--%>
	<%--}--%>

	<%--//获取关键专项数据--%>
	<%--function querySpecialData() {--%>
	<%--	//获取选择日期：--%>
	<%--	var startDate = $('.appDate').val();--%>
	<%--	var mouldCode = $('#specialData').attr('mouldCode');--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	var contentUrl = '<%=basePath%>mldks/queryDevelope?cityId=' + cityId + '&orgId=' + orgId + '&level=' + level + '&userId=${userId}&dataRange=0&startDate=' + startDate + '&mouldCode=' + mouldCode + '&min=${isAdmin}';--%>
	<%--	$.ajax({--%>
	<%--		url: contentUrl,--%>
	<%--		type: "GET",--%>
	<%--		contentType: "application/json",--%>
	<%--		dataType : "json",--%>
	<%--		cache: false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success: function(result) {--%>
	<%--			hideLoading('specialData');--%>
	<%--			if(result.code == '0') {--%>
	<%--				var data = result.data;--%>
	<%--				console.log("special data:",data);--%>
	<%--				if(data != undefined && data.length > 0){--%>
	<%--					var html = "";--%>
	<%--					$.each(data,function(idx,obj) {--%>
	<%--						if(idx < 3) {//仅展现3项--%>
	<%--							var name = obj.scene3Name;--%>
	<%--							var smallMouldCode = obj.scene3Code;--%>
	<%--							var values = obj.values;--%>
	<%--							var linkParams = obj.linkScene2Code;--%>
	<%--							var state = obj.state;--%>
	<%--							var actionCode = '0' + mouldCode + linkParams + '0002';//审核动作编码--%>
	<%--							if(values != undefined && values.length > 0){--%>
	<%--								html += "<a onclick=\"clickToDetailPage('" + mouldCode +"','"+ linkParams +"','" + smallMouldCode + "','" + name + "')\" class='special-list {D0}'>";--%>
	<%--								html += "<div class='main-info'><p class='tit'>" + name + "{D3}</p><p class='num'><em>{D1}</em>{upOrDown}</p></div>";--%>
	<%--								html += "<div class='detail-info'>{D2}</div></a>";--%>

	<%--								if (state == 'S0A') {--%>
	<%--									html = html.replace("{D3}","<i class='iconfont icon-yishenhe' code='" + mouldCode + "-" + smallMouldCode + "' actionCode='" + actionCode + "'></i>");--%>
	<%--								} else if (state == 'S0W' || state == 'S0B') {--%>
	<%--									html = html.replace("{D3}","<i class='iconfont icon-weishenhe' code='" + mouldCode + "-" + smallMouldCode + "' actionCode='" + actionCode + "'></i>");--%>
	<%--								} else {--%>
	<%--									html = html.replace("{D3}","");--%>
	<%--								}--%>

	<%--								var d2html = "";--%>
	<%--								if(values.length > 0){--%>
	<%--									if(values[0].isTempNoShow == 1){--%>
	<%--										html = html.replace("{D1}","--");--%>
	<%--										html = html.replace("{upOrDown}","");--%>
	<%--									} else{--%>
	<%--										html = html.replace("{D1}",values[0].rValue);--%>
	<%--									}--%>
	<%--								}--%>
	<%--								if(values.length > 1){--%>
	<%--									if(values[1].isTempNoShow == 1){--%>
	<%--										d2html += "<p>" + values[1].rIndName + "<span> " + "--" + "</span></p>";--%>
	<%--									} else{--%>
	<%--										d2html += "<p>" + values[1].rIndName + "<span> " + values[1].rValue + "</span></p>";--%>
	<%--									}--%>
	<%--								}--%>
	<%--								if(values.length > 2){--%>
	<%--									if (values[2].rValue == "0" || values[2].isTempNoShow == 1){--%>
	<%--										values[2].rValue = '--';--%>
	<%--										values[2].rUnit = "";--%>
	<%--									}--%>

	<%--									d2html += "<p>" + values[2].rIndName + "<span> {addOrMinus}" + values[2].rValue + values[2].rUnit + " {upOrDownSmall}</span></p>";--%>
	<%--									var rate = values[2].rValue;--%>
	<%--									if(rate > 0) {--%>
	<%--										html = html.replace("{D0}","rise");--%>
	<%--										html = html.replace("{upOrDown}","<i class='iconfont icon-shangsheng'></i>");--%>
	<%--										d2html = d2html.replace("{upOrDownSmall}","<i class='iconfont icon-shangshengms'></i>");--%>
	<%--										d2html = d2html.replace("{addOrMinus}","+");--%>
	<%--									} else if (rate < 0) {--%>
	<%--										html = html.replace("{D0}","drop");--%>
	<%--										html = html.replace("{upOrDown}","<i class='iconfont icon-xiajiang'></i>");--%>
	<%--										d2html = d2html.replace("{upOrDownSmall}","<i class='iconfont icon-xiajiangms'></i>");--%>
	<%--										d2html = d2html.replace("{addOrMinus}","");--%>
	<%--									} else {--%>
	<%--										html = html.replace("{D0}","rise");--%>
	<%--										html = html.replace("{upOrDown}","");--%>
	<%--										d2html = d2html.replace("{upOrDownSmall}","");--%>
	<%--										d2html = d2html.replace("{addOrMinus}","");--%>
	<%--									}--%>
	<%--								} else {--%>
	<%--									html = html.replace("{D0}","rise");--%>
	<%--								}--%>
	<%--								if(values.length > 3){--%>
	<%--									if (values[3].isTempNoShow == 1){--%>
	<%--										values[3].rValue = '--';--%>
	<%--										values[3].rUnit = "";--%>
	<%--									}--%>
	<%--									if (values[3].rUnit != "%"){--%>
	<%--										values[3].rUnit = "";--%>
	<%--									}--%>
	<%--									if (values[3].rIndName == "月累计新增收费用户"){--%>
	<%--										values[3].rIndName = "月累计新增<br/>收费用户";--%>
	<%--									}--%>
	<%--									var rate = values[3].rValue;--%>
	<%--									d2html += "<p>" + values[3].rIndName + "<span> {addOrMinus}" + values[3].rValue + values[3].rUnit + " </span></p>";--%>
	<%--									if(rate > 0) {--%>
	<%--										d2html = d2html.replace("{addOrMinus}","");--%>
	<%--									} else if (rate < 0) {--%>

	<%--									} else {--%>
	<%--										d2html = d2html.replace("{addOrMinus}","");--%>
	<%--									}--%>
	<%--								}--%>
	<%--								if(values.length > 4){--%>
	<%--									if (values[4].isTempNoShow == 1){--%>
	<%--										values[4].rValue = '--';--%>
	<%--										values[4].rUnit = "";--%>
	<%--									}--%>
	<%--									var rate = values[4].rValue;--%>
	<%--									d2html += "<p>" + values[4].rIndName + "<span> {addOrMinus}" + values[4].rValue + values[4].rUnit + " </span></p>";--%>
	<%--									if(rate > 0) {--%>
	<%--										d2html = d2html.replace("{addOrMinus}","");--%>
	<%--									} else if (rate < 0) {--%>

	<%--									} else {--%>
	<%--										d2html = d2html.replace("{addOrMinus}","");--%>
	<%--									}--%>
	<%--								}--%>
	<%--								html = html.replace("{D2}",d2html);--%>
	<%--							} else {--%>
	<%--								html += "<a onclick=\"clickShowNoData()\" class='special-list {D0}'>";--%>
	<%--								html += "<div class='main-info'><p class='tit'>" + name + "{D3}</p><p class='num'><em>{D1}</em>{upOrDown}</p></div>";--%>
	<%--								html += "<div class='detail-info'>{D2}</div></a>";--%>
	<%--								html = html.replace("{D0}","rise");--%>
	<%--								html = html.replace("{D1}","--");--%>
	<%--								html = html.replace("{D2}","");--%>

	<%--								if (state == 'S0A') {--%>
	<%--									html = html.replace("{D3}","<i class='iconfont icon-yishenhe' code='" + mouldCode + "-" + smallMouldCode + "' actionCode='" + actionCode + "'></i>");--%>
	<%--								} else if (state == 'S0W' || state == 'S0B') {--%>
	<%--									html = html.replace("{D3}","<i class='iconfont icon-weishenhe' code='" + mouldCode + "-" + smallMouldCode + "' actionCode='" + actionCode + "'></i>");--%>
	<%--								} else {--%>
	<%--									html = html.replace("{D3}","");--%>
	<%--								}--%>
	<%--							}--%>
	<%--							html = html.replace("{upOrDown}","");--%>
	<%--						}--%>
	<%--					});--%>
	<%--					$("#specialData").empty();--%>
	<%--					$("#specialData").append(html);--%>
	<%--					loadClickEvent(2);//绑定点击事件--%>
	<%--				} else {--%>
	<%--					var html = "";--%>
	<%--					html += "<section id='tab-contain' class='main' style=''><div class='layui-row'>";--%>
	<%--					html += "<div class='layui-col-md12' style='text-align: center;padding: 0.5rem 0'><img style='height:3rem' src='<%=basePath%>resources/img/out_500.png' /><p style='font-family: PingFangSC-Regular;font-size: 0.3rem;color: gray;'>无可查看的指标数据～</p>";--%>
	<%--					html += "</div></div></section>";--%>
	<%--					$("#specialData").empty();--%>
	<%--					$("#specialData").append(html);--%>
	<%--				}--%>
	<%--			} else {--%>
	<%--				var html = "";--%>
	<%--				html += "<section id='tab-contain' class='main' style=''><div class='layui-row'>";--%>
	<%--				html += "<div class='layui-col-md12' style='text-align: center;padding: 0.5rem 0'><img style='height:3rem' src='<%=basePath%>resources/img/out_500.png' /><p style='font-family: PingFangSC-Regular;font-size: 0.3rem;color: gray;'>数据错误，请<a href='javascript:querySpecialData()'>重试</a>～</p>";--%>
	<%--				html += "</div></div></section>";--%>
	<%--				$("#specialData").empty();--%>
	<%--				$("#specialData").append(html);--%>
	<%--			}--%>

	<%--			getWatermarkInfo(wmUrl,"");--%>
	<%--		},--%>
	<%--		error: function() {--%>
	<%--			//layer.msg('未知错误，请联系系统管理员！',{icon:2});--%>
	<%--			hideLoading("specialData");--%>
	<%--		},--%>
	<%--		onTimeout: function(){ // 超时回调--%>
	<%--			var func = registTimeoutCallback(function(){--%>
	<%--				showLoading("specialData");--%>
	<%--				querySpecialData();--%>
	<%--			});--%>
	<%--			showTiemoutTable("specialData",func);//初始化表格数据--%>
	<%--		}--%>
	<%--	});--%>
	<%--}--%>

	<%--function hideLoading(id){--%>
	<%--	$('#'+id).parent().find('.loading').hide();--%>
	<%--}--%>

	<%--var countdown=600;--%>
	<%--// 每隔10分钟刷新实时数据--%>
	<%--function reloadLiveData() {--%>
	<%--	if (countdown == 0) {--%>
	<%--		queryLiveData();--%>
	<%--		countdown = 600;--%>
	<%--		reloadLiveData();--%>
	<%--		return;--%>
	<%--	} else {--%>
	<%--		countdown--;--%>
	<%--	}--%>
	<%--	setTimeout(function(){--%>
	<%--		$('.real-data .animated').removeClass('bounce');--%>
	<%--		reloadLiveData() ;--%>
	<%--	},1000);--%>
	<%--}--%>

	<%--$(".picker").calendar({--%>
	<%--	dateFormat: "yyyy-mm-dd"--%>
	<%--});--%>

	<%--function clickToDetailPage(mouldCode,linkMouldCode, smallMouldCode, name) {--%>
	<%--	name = encodeURIComponent(encodeURIComponent(name));--%>
	<%--	var actioncode = '0' + mouldCode + linkMouldCode + '0001';--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}',actioncode ,pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	var startDate = $('.appDate').val();--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	var sign = '${sign}';--%>
	<%--	var params = 'cityId=' + cityId + '&orgId=' + orgId + '&level=' + level + '&userId=${userId}&dataRange=0&startDate=' + startDate + '&mouldCode=' + mouldCode + '&linkMouldCode=' + linkMouldCode + '&smallMouldCode=' + smallMouldCode + '&sign=' + sign + '&min=${isAdmin}&name=' + name;--%>
	<%--	var urlHeard='<%=basePath%>mldks/toDetailPage?id=';--%>
	<%--	var parmas=params+'&flag=' + mouldCode+linkMouldCode;--%>
	<%--	console.log(urlHeard,parmas);--%>
	<%--	getToTwoPageParam(urlHeard,parmas);--%>
	<%--}--%>
	<%--function toMorePage(daymsg,param2,param3){--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	var dopen = ${treeDistrictOpen};--%>
	<%--	if(!daymsg){--%>
	<%--		$.toast("该功能正在建设中，敬请期待！", "text");--%>
	<%--		return;--%>
	<%--	}--%>


	<%--	if (param2 == null || param2 == '' || param2 == 'undefined' || param2.indexOf('!') == 0 || param2.indexOf('404') == 0) {--%>
	<%--		$.toast("该功能正在建设中，敬请期待！", "text");--%>
	<%--		return;--%>
	<%--	}--%>

	<%--	if(daymsg=='jytb') {//经营通报0001--%>
	<%--		uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000001',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	}/*  else if (daymsg=='jyzd') {//经营诊断0002--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000002',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--} else if (daymsg=='gwfx') {//过网分析0003--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000003',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--}  */else if (daymsg=='zb') {//周报0004--%>
	<%--		uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000004',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	}/*  else if (daymsg=='ywzt') {//业务质态0005--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000005',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--}  */else if (daymsg == 'daymsg') {//每日短信0006--%>
	<%--		uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000006',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else if (daymsg == 'fzyb') {//发展月报0007--%>
	<%--		uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000007',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else if (daymsg == 'JFBG') {//分析报告0008--%>
	<%--		uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000008',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else if (daymsg == 'JYFX') {//分析报告0008--%>
	<%--		//uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000008',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else if (daymsg == 'YXBS') {//分析报告0008--%>
	<%--		//uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000008',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else if (daymsg == 'JZFX') {//分析报告0008--%>
	<%--		//uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000008',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else if (daymsg == 'tsls') {//推送历史--%>
	<%--		uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000009',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else if (daymsg == 'sszq') {//实时专区--%>
	<%--		uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000010',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else if (daymsg == 'lhb') {//实时专区--%>
	<%--		uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000011',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	} else {--%>
	<%--		console.log(daymsg+":"+param2+":"+param3);--%>
	<%--		// $.toast("该功能正在建设中，敬请期待！", "text");--%>
	<%--		// return;--%>
	<%--	}--%>
	<%--	var params = 'moreId=' + daymsg+ '&userId=${userId}' + '&cityId=' + cityId + '&orgId=' + orgId + '&level=' + level +'&dopen=' + dopen + '&min=${isAdmin}' + "&jumpUrl=" + encodeURIComponent(param2);--%>
	<%--	var urlHeard='<%=basePath%>mldks/toMorePage?id=';--%>
	<%--	//获取用户信息--%>
	<%--	var contentUrl = '<%=basePath%>mldks/getToTwoPageParam?'+params;--%>
	<%--	$.ajax({--%>
	<%--		url : contentUrl,--%>
	<%--		async : false,--%>
	<%--		type : "GET",--%>
	<%--		dataType : "json",--%>
	<%--		cache : false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success : function(result) {--%>
	<%--			if (result.code == 0) {--%>
	<%--				var data = result.data;--%>
	<%--				var contentUrl = urlHeard+data;--%>
	<%--				var u = navigator.userAgent, app = navigator.appVersion;--%>
	<%--				var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //android终端或者uc浏览器--%>
	<%--				var isiOS = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1; //ios终端--%>
	<%--				if(isAndroid){--%>
	<%--					window.android.openSubPage(contentUrl);--%>
	<%--				}else if(isiOS){--%>
	<%--					EShoreApp--%>
	<%--							.ESUtils--%>
	<%--							.callNativeWithCommand({--%>
	<%--								successCallback: function (){},--%>
	<%--								action: "GO_COUNTWEB_SUBPAGE",--%>
	<%--								data: {"URL": contentUrl}--%>
	<%--							});--%>
	<%--				}else{--%>
	<%--					window.location.href = contentUrl;--%>
	<%--				}--%>
	<%--			} else {--%>
	<%--				//加载默认水印--%>

	<%--			}--%>
	<%--		},--%>
	<%--		error : function() {--%>
	<%--			//加载默认水印--%>

	<%--		}--%>
	<%--	});--%>

	<%--}--%>
	<%--/**跳转至推送信息历史记录页面*/--%>
	<%--function OPEN_PUSH_NOTICE_PAGE() {--%>
	<%--	/* toMorePage('zb','wap/ks/reportIndex',''); */--%>
	<%--	var daymsg = 'tsls';--%>
	<%--	var param2 = 'wap/ks/mgr_push_history';--%>
	<%--	var param3 = '';--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000009',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>

	<%--	var params = 'moreId=' + daymsg+ '&userId=${userId}' + '&cityId=' + cityId + '&orgId=' + orgId + '&level=' + level + '&min=${isAdmin}' + "&jumpUrl=" + encodeURIComponent(param2);--%>
	<%--	var urlHeard='<%=basePath%>mldks/toMorePage?id=';--%>
	<%--	//获取用户信息--%>
	<%--	var contentUrl = '<%=basePath%>mldks/getToTwoPageParam?'+params;--%>
	<%--	$.ajax({--%>
	<%--		url : contentUrl,--%>
	<%--		async : false,--%>
	<%--		type : "GET",--%>
	<%--		dataType : "json",--%>
	<%--		cache : false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success : function(result) {--%>
	<%--			if (result.code == 0) {--%>
	<%--				var data = result.data;--%>
	<%--				var contentUrl = urlHeard+data;--%>
	<%--				var u = navigator.userAgent, app = navigator.appVersion;--%>
	<%--				var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //android终端或者uc浏览器--%>
	<%--				var isiOS = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1; //ios终端--%>
	<%--				if(isAndroid){--%>
	<%--					window.android.openSubPage(contentUrl);--%>
	<%--				}else if(isiOS){--%>
	<%--					EShoreApp--%>
	<%--							.ESUtils--%>
	<%--							.callNativeWithCommand({--%>
	<%--								successCallback: function (){},--%>
	<%--								action: "GO_COUNTWEB_SUBPAGE",--%>
	<%--								data: {"URL": contentUrl}--%>
	<%--							});--%>
	<%--				}else{--%>
	<%--					window.location.href = contentUrl;--%>
	<%--				}--%>
	<%--			} else {--%>
	<%--				//加载默认水印--%>

	<%--			}--%>
	<%--		},--%>
	<%--		error : function() {--%>
	<%--			//加载默认水印--%>

	<%--		}--%>
	<%--	});--%>

	<%--}--%>
	<%--/**跳转至岁末年初龙虎榜首页*/--%>
	<%--function OPEN_SMNC_LHB_PAGE() {--%>
	<%--	/* toMorePage('zb','wap/ks/reportIndex',''); */--%>
	<%--	var daymsg = 'lhb';--%>
	<%--	var param2 = 'wap/ks/mgr_lhb_index';--%>
	<%--	var param3 = '';--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','03000011',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>

	<%--	var params = 'moreId=' + daymsg+ '&userId=${userId}' + '&cityId=' + cityId + '&orgId=' + orgId + '&level=' + level + '&min=${isAdmin}' + "&jumpUrl=" + encodeURIComponent(param2);--%>
	<%--	var urlHeard='<%=basePath%>mldks/toMorePage?id=';--%>
	<%--	//获取用户信息--%>
	<%--	var contentUrl = '<%=basePath%>mldks/getToTwoPageParam?'+params;--%>
	<%--	$.ajax({--%>
	<%--		url : contentUrl,--%>
	<%--		async : false,--%>
	<%--		type : "GET",--%>
	<%--		dataType : "json",--%>
	<%--		cache : false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success : function(result) {--%>
	<%--			if (result.code == 0) {--%>
	<%--				var data = result.data;--%>
	<%--				var contentUrl = urlHeard+data;--%>
	<%--				var u = navigator.userAgent, app = navigator.appVersion;--%>
	<%--				var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //android终端或者uc浏览器--%>
	<%--				var isiOS = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1; //ios终端--%>
	<%--				if(isAndroid){--%>
	<%--					window.android.openSubPage(contentUrl);--%>
	<%--				}else if(isiOS){--%>
	<%--					EShoreApp--%>
	<%--							.ESUtils--%>
	<%--							.callNativeWithCommand({--%>
	<%--								successCallback: function (){},--%>
	<%--								action: "GO_COUNTWEB_SUBPAGE",--%>
	<%--								data: {"URL": contentUrl}--%>
	<%--							});--%>
	<%--				}else{--%>
	<%--					window.location.href = contentUrl;--%>
	<%--				}--%>
	<%--			} else {--%>
	<%--				//加载默认水印--%>

	<%--			}--%>
	<%--		},--%>
	<%--		error : function() {--%>
	<%--			//加载默认水印--%>

	<%--		}--%>
	<%--	});--%>

	<%--}--%>
	<%--$("#myLook").click(function () {--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','00000006',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	localStorage.removeItem("code");--%>
	<%--	localStorage.removeItem("data");--%>
	<%--	localStorage.removeItem("refresh");--%>
	<%--	var startDate = $('.appDate').val();--%>
	<%--	var mouldCode = '8';--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	var urlHeard='<%=basePath%>mldks/goToSortPage?id=';--%>
	<%--	var parmas='cityId=' + cityId + '&orgId=' + orgId + '&userId=${userId}&dataRange=0&startDate=' + startDate + '&mouldCode=' + mouldCode+'&sortMould=myLook'+'&flag=' + mouldCode+ '&level=' + level+ '&min=${isAdmin}';--%>
	<%--	console.log(urlHeard,parmas);--%>
	<%--	getToTwoPageParam(urlHeard,parmas);--%>
	<%--});--%>

	<%--$("#myNotic").click(function () {--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','00000007',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	localStorage.removeItem("code");--%>
	<%--	localStorage.removeItem("data");--%>
	<%--	localStorage.removeItem("refresh");--%>
	<%--	var startDate = $('.appDate').val();--%>
	<%--	var mouldCode = '9';--%>
	<%--	var cityId = $('#orgChoose').attr('cityId');--%>
	<%--	var orgId = $('#orgChoose').attr('orgId');--%>
	<%--	var level = $('#orgChoose').attr('level');--%>
	<%--	var urlHeard='<%=basePath%>mldks/goToSortPage?id=';--%>
	<%--	var parmas='cityId=' + cityId + '&orgId=' + orgId + '&userId=${userId}&dataRange=0&startDate=' + startDate + '&mouldCode=' + mouldCode+'&sortMould=myNotic'+'&flag=' + mouldCode+ '&level=' + level+ '&min=${isAdmin}';--%>
	<%--	console.log(urlHeard,parmas);--%>
	<%--	getToTwoPageParam(urlHeard,parmas);--%>
	<%--});--%>
	<%--$("#myMore").click(function () {--%>
	<%--	//uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','00000007',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	var urlHeard='<%=basePath%>mldks/toMoreSortPage?id=';--%>
	<%--	var parmas='userId=${userId}&sortMould=${roleCode}';--%>
	<%--	getToTwoPageParam(urlHeard,parmas);--%>
	<%--});--%>
	<%--function getToTwoPageParam(urlHeard,parmas){--%>
	<%--	//获取用户信息--%>
	<%--	var contentUrl = '<%=basePath%>mldks/getToTwoPageParam?'+parmas;--%>
	<%--	$.ajax({--%>
	<%--		url : contentUrl,--%>
	<%--		async : false,--%>
	<%--		type : "GET",--%>
	<%--		dataType : "json",--%>
	<%--		cache : false,--%>
	<%--		timeout:60 * 1000,--%>
	<%--		success : function(result) {--%>
	<%--			if (result.code == 0) {--%>
	<%--				var data = result.data;--%>
	<%--				var contentUrl = urlHeard+data;--%>
	<%--				var u = navigator.userAgent, app = navigator.appVersion;--%>
	<%--				var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //android终端或者uc浏览器--%>
	<%--				var isiOS = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1; //ios终端--%>
	<%--				if(isAndroid){--%>
	<%--					window.android.openSubPage(contentUrl);--%>
	<%--				}else if(isiOS){--%>
	<%--					EShoreApp--%>
	<%--							.ESUtils--%>
	<%--							.callNativeWithCommand({--%>
	<%--								successCallback: function (){},--%>
	<%--								action: "GO_COUNTWEB_SUBPAGE",--%>
	<%--								data: {"URL": contentUrl}--%>
	<%--							});--%>
	<%--				}else{--%>
	<%--					window.location.href = contentUrl;--%>
	<%--				}--%>
	<%--			} else {--%>
	<%--				//加载默认水印--%>

	<%--			}--%>
	<%--		},--%>
	<%--		error : function() {--%>
	<%--			//加载默认水印--%>

	<%--		}--%>
	<%--	});--%>
	<%--}--%>

	<%--function dataTool(){--%>
	<%--	var curr = new Date().getFullYear();--%>
	<%--	var opt = {}--%>
	<%--	opt.date = {preset : 'date',defaultValue: new Date()};--%>
	<%--	opt.datetime = { preset : 'datetime',defaultValue: new Date(), stepMinute: 5  };--%>
	<%--	opt.time = {preset : 'time'};--%>
	<%--	opt.default = {--%>
	<%--		theme: 'android-ics light', //皮肤样式--%>
	<%--		display: 'bottom', //显示方式--%>
	<%--		mode: 'scroller', //日期选择模式--%>
	<%--		//ateOrder:'yymm',--%>
	<%--		dateFormat: 'yy-mm-dd',--%>
	<%--		lang: 'zh',--%>
	<%--		showNow: true,--%>
	<%--		nowText: "今天",--%>
	<%--		startYear: curr - 10, //开始年份--%>
	<%--		endYear: curr + 10, //结束年份--%>
	<%--		onShow:function(valueText,inst){--%>
	<%--			uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','00000002',pagecode,$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--		},--%>
	<%--		onSelect:function(valueText,inst){--%>
	<%--			uploadActionLog(actionlogUrl,'${userId}','${isAdmin}','00000003',pagecode,valueText,$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--			if (compareDate(valueText, getToday()) == 1) {--%>
	<%--				$(this).val(lastChooseDate);--%>
	<%--				$.toast("请选择今天之前的日期", 'text');--%>
	<%--				return;--%>
	<%--			}--%>
	<%--			console.log("比较日期2：",valueText,gloablLiveDate,compareDate(valueText, gloablLiveDate));--%>
	<%--			if (compareDate(valueText, gloablLiveDate) == 1) {--%>
	<%--				$(this).val(lastChooseDate);--%>
	<%--				$.toast("所选日期的数据正在核算中,请稍后查询!", 'text');--%>
	<%--				return;--%>
	<%--			}--%>
	<%--			lastChooseDate = valueText;--%>
	<%--			/**加载数据**/--%>
	<%--			getWatermarkInfo(wmUrl,"");--%>
	<%--			initLoading();--%>
	<%--			queryLiveData();--%>
	<%--			queryKeypointData();--%>
	<%--			queryFocusData();--%>
	<%--			querySpecialData();--%>
	<%--			// 开始倒计时--%>
	<%--			reloadLiveData();--%>
	<%--		}--%>
	<%--	};--%>
	<%--	$(".appDate").scroller($.extend(opt['date'], opt['default']));--%>
	<%--}--%>

	<%--/* $('.more-list .grid-list .aa').click(function(){--%>
    <%--    $.toast("该功能正在建设中，敬请期待！", "text");--%>
    <%--}) */--%>

	<%--function clickShowNoData(){--%>
	<%--	$.toast("数据正在核算中，请稍后查看！", "text");--%>
	<%--}--%>

	<%--function loadClickEvent(type){--%>
	<%--	var dom = "";--%>
	<%--	if(type == 1){--%>
	<%--		dom = $('.follow-data .tit i');--%>
	<%--	}--%>
	<%--	if(type == 2){--%>
	<%--		dom = $('.main-info .tit i');--%>
	<%--	}--%>
	<%--	dom.click(function(e){--%>
	<%--		var index = loading("数据加载中...");--%>
	<%--		//重置select--%>
	<%--		$("select:first option:first").prop("selected","true");--%>
	<%--		var obj = $(e.target);--%>
	<%--		var msg = "";--%>
	<%--		var state = 0;--%>
	<%--		var code = obj.attr("code");--%>
	<%--		var markCode = obj.attr("markCode"); // 标识码,不传给后台.该值将写到弹窗的markCode字段上,用于内部区分不同的模块.(由于以前的code和底层接口内部逻辑挂钩，不方便重点关注模块审核刷新)--%>
	<%--		var actionCode = obj.attr("actionCode");--%>
	<%--		var account = '${account}';--%>
	<%--		var date = $('.appDate').val();--%>
	<%--		var userId = '${userId}';--%>
	<%--		var stateUrl = '<%=basePath%>mldks/getAllCityState';--%>
	<%--		var stateJson = getAllCityState(stateUrl,date,code,'1',markCode,actionCode);--%>
	<%--		console.log("state json:",stateJson);--%>
	<%--		$("#idxDetail").unbind("click");--%>
	<%--		$("#idxDetail").click(function(e){--%>
	<%--			var detailUrl = '<%=basePath%>mldks/toIdxDetailPage?id=';--%>
	<%--			var parmas='mouldCode=' + code + '&startDate=' + date + '&userId=' + userId;--%>
	<%--			getToTwoPageParam(detailUrl,parmas);--%>
	<%--		});--%>
	<%--		$('.win-box').show();--%>
	<%--		layer.close(index);--%>
	<%--		return false;--%>
	<%--	})--%>
	<%--}--%>

	<%--function changeStateData(){--%>
	<%--	var stateUrl = '<%=basePath%>mldks/getAllCityState';--%>
	<%--	var date = $('.appDate').val();--%>
	<%--	var code = $('.win-con').attr('code');--%>
	<%--	var type = $("#stateShowType").val();--%>
	<%--	var stateJson = getAllCityState(stateUrl,date,code,type);--%>
	<%--	console.log("state json:",stateJson);--%>
	<%--}--%>

	<%--function stateWinConfirm(){--%>
	<%--	var code = $('.win-con').attr('code');--%>
	<%--	var markCode = $('.win-con').attr('markCode');--%>
	<%--	var actionCode = $('.win-con').attr('actionCode');--%>
	<%--	if (actionCode == '08280002'){--%>
	<%--		actionCode = '08280006'--%>
	<%--	} else if (actionCode == '08300002'){--%>
	<%--		actionCode = '08300006'--%>
	<%--	} else if (actionCode == '09290002'){--%>
	<%--		actionCode = '09290004'--%>
	<%--	}--%>
	<%--	var checkedCity = "";--%>
	<%--	var uncheckedCity = "";--%>
	<%--	var data = $('.win-con .input input[type=checkbox]');--%>
	<%--	$.each(data,function(idx,obj) {--%>
	<%--		var checked = $(obj).is(':checked');--%>
	<%--		var cityId = $(obj).parent('.check-box').attr('cityId');--%>
	<%--		if(checked){--%>
	<%--			if(checkedCity == '') {--%>
	<%--				checkedCity += cityId;--%>
	<%--			} else {--%>
	<%--				checkedCity += "," + cityId;--%>
	<%--			}--%>
	<%--		} else {--%>
	<%--			if(uncheckedCity == '') {--%>
	<%--				uncheckedCity += cityId;--%>
	<%--			} else {--%>
	<%--				uncheckedCity += "," + cityId;--%>
	<%--			}--%>
	<%--		}--%>
	<%--	});--%>
	<%--	var examineUrl = '<%=basePath%>mldks/examineOnce';--%>
	<%--	var account = '${account}';--%>
	<%--	var userId = '${userId}';--%>
	<%--	var date = $('.appDate').val();--%>
	<%--	stateExamineOnce(examineUrl,date,code,account,userId,checkedCity,uncheckedCity);--%>
	<%--	$('.win-box').hide();--%>
	<%--	uploadActionLog(actionlogUrl,'${userId}','${isAdmin}',actionCode,'0001',$('.appDate').val(),$('#orgChoose').attr('orgId'), actionLog.MGR);--%>
	<%--	if (markCode == 'zdgz') {--%>
	<%--		queryKeypointData();--%>
	<%--		return;--%>
	<%--	}--%>

	<%--	if(code.startsWith('8')){--%>
	<%--		var focusloading = "<div class='loading'><img  src='../resources/img/loading1.png' alt=''><ul class='fensug'><li class='waven'></li></ul></div>";--%>
	<%--		$('#focusData').empty();--%>
	<%--		$('#focusData').append(focusloading);--%>
	<%--		queryFocusData();--%>
	<%--	}--%>
	<%--	if(code.startsWith('9')){--%>
	<%--		var specialloading = "<div class='loading'><img  src='../resources/img/loading2.png' alt=''><ul class='fensug'><li class='waven'></li></ul></div>";--%>
	<%--		$('#specialData').empty();--%>
	<%--		$('#specialData').append(specialloading);--%>
	<%--		querySpecialData();--%>
	<%--	}--%>
	<%--}--%>

</script>
<script>
	<%--//走马灯--%>
	<%--$(function(){--%>

	<%--	var speed=30;//设置滚动速度--%>
	<%--	var d = document, g = "getElementById";--%>
	<%--	var outer = d[g]("outer");--%>
	<%--	var picbox_1 = d[g]("picbox_1");--%>
	<%--	var picbox_2 = d[g]("picbox_2");--%>
	<%--	picbox_2.innerHTML=picbox_1.innerHTML;--%>
	<%--	function Marquee(){--%>
	<%--		if(outer.scrollLeft>=picbox_1.scrollWidth){--%>
	<%--			outer.scrollLeft=0 ;--%>
	<%--		}else{--%>
	<%--			outer.scrollLeft++ ;--%>
	<%--		}--%>
	<%--	}--%>
	<%--	var MyMar=setInterval(Marquee,speed);--%>
	<%--	// 公告关闭按钮--%>
	<%--	$('.notice-div i').click(function(){--%>
	<%--		$(this).parent().slideUp();--%>
	<%--		$('.index-head').css('background','#F2F2F2');--%>
	<%--		var contentUrl = '<%=basePath%>mldks/getSaveNotice';--%>
	<%--		$.ajax({--%>
	<%--			url: contentUrl,--%>
	<%--			type: "POST",--%>
	<%--			dataType : "json",--%>
	<%--			cache: false,--%>
	<%--			timeout:60 * 1000,--%>
	<%--			data: {newNotice:encodeURI(newNotice),--%>
	<%--				oldNotice:encodeURI(oldNotice)},--%>
	<%--			success: function(result) {--%>
	<%--				console.log(result);--%>
	<%--				if(result.code == 0) {--%>
	<%--					var data = result.data;--%>
	<%--					var key = "${userId}"+"${roleCode}"+"${cityId}";--%>
	<%--					var u = navigator.userAgent, app = navigator.appVersion;--%>
	<%--					var isAndroid = u.indexOf('Android') > -1--%>
	<%--							|| u.indexOf('Linux') > -1; //android终端或者uc浏览器--%>
	<%--					var isiOS = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1; //ios终端--%>
	<%--					if (isAndroid) {--%>
	<%--						window.android.cacheDataInf('1',key,JSON.stringify(result.data));--%>
	<%--					} else if (isiOS) {--%>
	<%--						ACTION_CACHEDATA_INF('1',key,JSON.stringify(result.data));--%>
	<%--					}--%>

	<%--				}else{--%>
	<%--					console.log("保存公告数据失败");--%>
	<%--				}--%>
	<%--			}--%>
	<%--			,error: function() {--%>
	<%--				console.log("保存公告数据失败");--%>
	<%--			}--%>
	<%--		});--%>
	<%--	})--%>
	<%--})--%>
</script>
</body>
</html>
